package com.jic.market.service;

import com.jic.common.base.vo.RestResult;
import com.jic.market.entity.PromotionMerchantEntity;
import com.jic.market.request.PromotionMerchantRequest;
import com.jic.market.request.PromotionRequest;
import com.jic.market.request.manager.base.PromotionMerchantAndStoreIsNullRequest;
import com.jic.market.response.PageResponse;
import com.jic.market.response.PromotionMerchantResponse;
import com.jic.market.response.PromotionResponse;

import java.util.List;

/**
 * 促销商家店铺关系表
 * @author : guohuayong
 * @email :
 * @since : 2020-01-14 08:00:40
 * @version : v1.0.0
 */
public interface PromotionMerchantService {

    RestResult<Boolean> merchantAndStoreIsNull(PromotionMerchantAndStoreIsNullRequest request);

    PageResponse<PromotionMerchantResponse> listByPage(PromotionMerchantRequest request);


    Integer deleteByPromotionId(PromotionMerchantRequest request);

    Integer saveBatchByPromotionId(List<PromotionMerchantRequest> pomotionList);

    Integer deleteById(Long id);




}